home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CDPD Public Domain Collection for CDTV 4
/
CDPD_IV.bin
/
e
/
mailinglists
/
amigae.0294feb.archive
/
000041_donews!crash!e…af.mil!mckinnej_Sat, 12 Feb 94 01:39:58 PST.msg
< prev
next >
Wrap
Internet Message Format
|
1994-05-26
|
8KB
Received: by bkhouse.cts.com (V1.17-beta/Amiga)
id <1t63@bkhouse.cts.com>; Sat, 12 Feb 94 01:39:58 PST
Received: from crash by donews.cts.com with uucp
(Smail3.1.28.1 #18) id m0pV9E2-0001PDC; Fri, 11 Feb 94 20:32 EST
Received: from emh.kadena.af.mil by crash.cts.com with smtp
(Smail3.1.28.1 #18) id m0pV8km-0000WSC; Fri, 11 Feb 94 17:02 PST
Received: by emh.kadena.af.mil (5.60 pl1/25-eef)
id AA00782; Sat, 12 Feb 94 09:51:56 JST
Message-Id: <9402120951.AA00782@emh.kadena.af.mil>
Date: Sat, 12 Feb 1994 09:51:46 +0000 (JST)
In-Reply-To: <01H8OY3HOZEQ8ZHX49@delphi.com> from "NES@delphi.com" at Feb 9, 94 07:17:35 pm
Content-Type: text
Content-Length: 933
From: James Mckinney <mckinnej@emh.kadena.af.mil>
To: AmigaE@bkhouse.cts.com
Subject: Re: MUI tools help
Hi Eric,
> I am having trouble useing the Gadtoolsbox. I can create a window and I
> can covert it to e with sourcegen. My problem is..... I need some
> examples on how to read/write to the gadgets. Is thier a command like
> "getgadinfo" or "putgadinfo"?
Not quite sure what you are asking for, but I'll give it a shot.
If you are looking for an example of how to interpret and act upon gadget
selections, ftp the file "Spotlite.lha". It's in the dev/e directory on
the Aminet sites (ftp.wustl.edu is the main site).
If you're trying to change the gadget text, I'm not sure if you can do
that under gadtools (there are several dissappointing limitations on
gagtools gadgets as I've found out over the last few days). You may have
to use a regular Intuition gadget. (I could be wrong here. I've been
messing with BOOPSI gadgets too and I might have mixed them up. Yet
another sign of old age. B-)
Later,
Jim
From donews!crash!fwi.uva.nl!oortmers Sat, 12 Feb 94 01:41:08 PST
Received: by bkhouse.cts.com (V1.17-beta/Amiga)
id <1t7d@bkhouse.cts.com>; Sat, 12 Feb 94 01:41:08 PST
Received: from crash by donews.cts.com with uucp
(Smail3.1.28.1 #18) id m0pVAbH-0001PEC; Fri, 11 Feb 94 22:00 EST
Received: from mail.fwi.uva.nl by crash.cts.com with smtp
(Smail3.1.28.1 #18) id m0pVABJ-00001iC; Fri, 11 Feb 94 18:34 PST
Received: from gene.fwi.uva.nl by mail.fwi.uva.nl with SMTP (5.65c/5.1)
id AA08159; Sat, 12 Feb 1994 03:33:59 +0100
Received: by gene.fwi.uva.nl
id AA16276; Sat Feb 12 03:33:52 1994
Message-Id: <199402120233.AA16276@gene.fwi.uva.nl>
Date: Sat, 12 Feb 1994 03:33:52 +0100
Return-Path: <oortmers@fwi.uva.nl>
X-Organisation: Faculty of Mathematics & Computer Science
University of Amsterdam
Plantage Muidergracht 24
NL-1018 TV Amsterdam
The Netherlands
X-Phone: +31 20 525 5200
X-Telex: 16460 facwn nl
X-Fax: +31 20 525 5101
From: oortmers@fwi.uva.nl (Wouter van Oortmerssen (Alfa_Inf92))
To: AmigaE@bkhouse.cts.com
Subject: various
[various stuff]
-> Will E 3.0 have proper float support?
depends on what you call 'proper', but yes, it will have operators
that work on floats etc. in the language.
-> Does anyone have some good example sources that show how to use
-> "|" in E? The only sample program that uses it is 'ReWriteGfx'
-> and I can't make heads or tails of its use in that program...
"|" was the float convertion operator in <2.1a, and shortly before
release I decided I didn't like floats like this in E, so I removed
the documentation about floats. Not many people know this, but
v2.1 actually has floats implemented, but a bit silly if you ask me.
-> Wish List Addendum...
-> -No size/element limit on constant structures, lists, arrays.. E is a
-> dynamic language, why is there a limit on something so silly?
well, yes [] lists and typed list should be able to get longer in the
future. If you trouble with the current limits just because you want to
have a large amount of data in your program, I might advice to use INT
(as statement) or INCBIN or something similar.
-> -Real keyword/constant checking! I want to be able to start my
-> functions/variables in uppercase if I so desire! (You wouldn't believe the
-> problems this is causing with converting Angband to E!) Anything else is
-> just cheaping out to keep compiler speed. Come on!
This is a false assumption many people have made. Those contrains
were introduced into E because I wanted to enforce a common style of
identifiers to make sources more readable. infact, with techniques like
hashing the compiler uses, the speed difference would not be noticable.
-> pound sand up his arse and go to the C mailing list! }:-/
now come on barry! no cursing on this list :-) Be nice to people!
Wouter
____ Wouter van Oortmerssen, Wouter@alf.let.uva.nl
/ __/ "Nobody with a good car needs to be justified"
/ __/ -Ministry, Jesus built my hotrod
/___/ E mailing list: amigae-request@bkhouse.cts.com
From donews!crash!freenet.carleton.ca!ao443 Sat, 12 Feb 94 01:41:28 PST
Received: by bkhouse.cts.com (V1.17-beta/Amiga)
id <1t7m@bkhouse.cts.com>; Sat, 12 Feb 94 01:41:28 PST
Received: from crash by donews.cts.com with uucp
(Smail3.1.28.1 #18) id m0pVB5L-0001Q0C; Fri, 11 Feb 94 22:31 EST
Received: from freenet-news.carleton.ca by crash.cts.com with smtp
(Smail3.1.28.1 #18) id m0pVAjN-00003hC; Fri, 11 Feb 94 19:09 PST
Received: from freenet.carleton.ca by freenet-news.carleton.ca (4.1/SMI-4.0)
id AA15552; Fri, 11 Feb 94 22:09:38 EST
Received: from localhost (ao443@localhost) by freenet.carleton.ca (8.6.4/8.6.4) id WAA24449; Fri, 11 Feb 1994 22:09:10 -0500
Date: Fri, 11 Feb 1994 22:09:10 -0500
Message-Id: <199402120309.WAA24449@freenet.carleton.ca>
Reply-To: ao443@freenet.carleton.ca
From: ao443@freenet.carleton.ca (Jason Maskell)
To: AmigaE@bkhouse.cts.com
Subject: Re: PROBLEMS....PROBLEMS...PROBLEMS
> I got my proc to draw the maps working right. I had to change my info.
>from hex to decimal. I also found my function to raise a number to a
>power (Shl()). With this I was able to leave out about 60 IF statements.
60 Ifs? My god man. Why did you not just write up a function to do
it?
(off the top of my head)
PROC exponent(num,pow)
DEF result=0,a
FOR a:=0 TO pow
result:=result*result
ENDFOR
ENDPROC a
Unless I've totally gone bonkers that should return num^pow. (this really
should be included as an operator in high level languages)
>as movement, so that by pressing 8 the character would move towards the
>top of the screen. This worked fine the first time I entered an 8, but
>when I entered another 8 I got a guru $8000 0003.
>
Hmm.. well, this information does not help when dealing with a
guru. Either post the code, or if you don't want to, email it to me and
I'll take a look at it. Most people's E programming bugs are usually just
misconceptions about how E works, or how some function works. It's
probably something really simple, and thus the hardest kind to spot.
> Another question that I have is, how do I set the palette for my screen
>and how to give it that 2.0'ish look. I want windows and cons to look the
>way they did when I was opening them on the workbench screen. I will use
>the colors that I have on my workbench, but I need to know how to set
>them on my screen.
>
Haven't played with screen for a while.. I assume you are using
2.0+? If not, well, kiss the 2.0 look goodbye without a lot of work. I'll
lookup how to do it when I get home tonight and post it next time.
--
'You see son, if this were Star Trek, we'd be negotiating with this Kobold.'
- Unknown Angband Player